import http from '../http.js'

// 发布吐槽交流
function publishArticle(data){
	return http.post("/article/publishArticle",data)
}

// 获取推荐数量
function getRecommendArticleNum(){
	return http.get("/article/getRecommendArticleNum")
}

// 获取推荐
function getRecommendArticle(start,end){
	return http.get('/article/getRecommendArticle?start='+start+'&end='+end)
}


export{
	publishArticle,
	getRecommendArticleNum,
	getRecommendArticle
}